package com.aplana.ccsd.service;

import info.magnolia.module.blossom.dialog.TabBuilder;

import javax.jcr.Node;
import javax.jcr.PathNotFoundException;
import javax.jcr.RepositoryException;

import com.aplana.ccsd.model.Area;
import com.aplana.ccsd.model.Promo;


public interface PromoService {

	Promo getPromo(Node promoComponent) throws PathNotFoundException, RepositoryException;
	
	void addPromoDialogControls(TabBuilder tabBuilder);
	
	Area getPromosArea(Node promosArea) throws PathNotFoundException, RepositoryException;
	
	void addPromosAreaDialogControls(TabBuilder tabBuilder);
	
}
